#pragma once

class CPokeHotkeyFetcher :
    public CHotKeyCtrl
{
    DECLARE_DYNAMIC(CPokeHotkeyFetcher)

    // Constructors
public:
    CPokeHotkeyFetcher();
    virtual ~CPokeHotkeyFetcher();

    void ResetOption(int nHotkeyId);

protected:
    void EndFetch(BOOL bSave);

private:
    int m_nHotkeyId;
    int m_nKeyDownNum;

public:
    DECLARE_MESSAGE_MAP()
    afx_msg void OnKillFocus(CWnd* pNewWnd);
    afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
    afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
    afx_msg void OnSysKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
    afx_msg void OnSysKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
};